import { createApp, reactive, watchEffect } from 'vue';

const codeList = reactive([1, 2, 3]);

// 判断权限是否存在
const hasPermission = (value) => {
  return codeList.includes(value);
};
